import { getCurrentInstance} from "vue";

/**
 * ts 全局挂在会报错，只能先转一下
 */
export default function useCurrentInstance() {
    const {appContext} = getCurrentInstance()
    const proxy = appContext.config.globalProperties;
    return {proxy}
}
